import { get, post } from '@/utils/request';
import api from './api';

export async function productPage(data: any) {
  return post(api.productPage, data);
}

export async function orderPage(data: any) {
  return post(api.orderPage, data);
}

export async function productionLineList(data: any) {
  return post(api.productionLineList, data);
}
export async function schedulingList(data: any) {
  return post(api.schedulingList, data);
}
export async function productionScheduling(data: any) {
  return post(api.productionScheduling, data);
}
export async function toProduceManageDetail(data: any) {
  return post(api.toProduceManageDetail, data);
}

export async function deviceDetail(data: any) {
  return post(api.deviceDetail, data);
}
export async function procurementManageDetail(data: any) {
  return post(api.procurementManageDetail, data);
}
export async function inventoryManage(data: any) {
  return post(api.inventoryManage, data);
}
export async function recipientsDetail(data: any) {
  return post(api.recipientsDetail, data);
}
export async function salesManageDetail(data: any) {
  return post(api.salesManageDetail, data);
}
